﻿using System;
using ApiGateway.Interface;
using RpcClient;
using RpcModel;
using Wedonek.Demo.RemoteModel.Order.Model;
using Wedonek.Gateway.WebSocket.Model;

namespace Wedonek.Gateway.WebSocket.Interface
{
    internal interface IOrderService
    {
        Guid AddOrder(UserLoginState state, OrderParam add, IClientIdentity identity);
        void DropOrder(Guid orderId);
        OrderData GetOrder(Guid orderId);
        PagingResult<OrderData> Query(UserLoginState state, BasicPage paging);
    }
}